package com.sc.nft.mapper;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.sc.nft.entity.RankingBoardDetailsOddNumber;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.sc.nft.entity.vo.GetRankingBoardDetailsVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 用户排行榜数据详情表(奇数)(sc_ranking_board_details_odd_number)数据Mapper
 *
 * @author Sun
 * @since 2023-08-04 10:58:20
 * @description 由 Mybatisplus Code Generator 创建
*/
@Mapper
public interface RankingBoardDetailsOddNumberMapper extends BaseMapper<RankingBoardDetailsOddNumber> {

    /**
     * 查询奇数记录的排行榜数据
     * @param id
     * @param userTel
     * @return
     */
    List<GetRankingBoardDetailsVO> getOddNumberDetailsByIdAndUserTel(@Param("id") Long id, @Param("userTel") String userTel);
}
